package CompositePattern.exception;

public class OperationNotSupportException extends RuntimeException { //自定义的异常类:解决透明组合模式中的安全隐患


    public OperationNotSupportException() {
    }

    public OperationNotSupportException(String message) {
        super(message);
    }

    public OperationNotSupportException(String message, Throwable cause) {
        super(message, cause);
    }

    public OperationNotSupportException(Throwable cause) {
        super(cause);
    }

    public OperationNotSupportException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
